* formal.do	JEP	01/27/15
* Build regression table
* Formal sector, wages

*************************** Change log ********************************** 

/*
	
*/	

clear 
version 13.1

* Project info
cap project, doinfo
if _rc==198 {
	if c(username)=="J16339" | c(username)=="A15858" loc master "B:\Col_Minimum_Wage" 
	else if c(os)=="Windows" loc master "C:/Users/jorpp/Dropbox (Brown)/Col_Minimum_Wage"
	else loc master "/home/jperez/AA_Minimum_Wage"
}
else {
	local master "`r(pdir)'"
	local doname "`r(dofile)'" 
	* Project calls
	project, relies_on("`master'/Code/Est/rifregtable2.do")
}

do "`master'/Code/Est/rifregtable2_cities.do"


* Bite - mensual - by industry

rifregtable2, nrif(10) time(1999q1) panels(1 2 3 4 5 6 7) pctiles(40 45 50 55 60 65 70) master("`master'") outdir("`master'/Doc/tosubmit2/tab/informal_cities") dom(_edom_indcc) new(_new_ebite_indcc_cities) mw(ebite) per(mensual) spec(emp_bp)
rifregtable2, nrif(10) time(1999q1) panels(1 2 3 4 5 6 7) pctiles(40 45 50 55 60 65 70) master("`master'") outdir("`master'/Doc/tosubmit2/tab/informal_cities") dom(_edom_indcc) new(_new_ebite_indcc_cities) mw(ebite) per(mensual) spec(sst_emp_bp)
rifregtable2, nrif(10) time(1999q1) panels(1 2 3 4 5 6 7) pctiles(40 45 50 55 60 65 70) master("`master'") outdir("`master'/Doc/tosubmit2/tab/informal_cities") dom(_edom_indcc) new(_new_ebite_indcc_cities) mw(ebite) per(mensual) spec(ie_emp_bp)
rifregtable2, nrif(10) time(1999q1) panels(1 2 3 4 5 6 7) pctiles(40 45 50 55 60 65 70) master("`master'") outdir("`master'/Doc/tosubmit2/tab/informal_cities") dom(_edom_indcc) new(_new_ebite_indcc_cities) mw(ebite) per(mensual) spec(iect_emp_bp)
